import { createRouter, createWebHistory } from 'vue-router';

// 抽奖首页
const home_routes = [
  {
    path: '/mt-lottery',
    redirect: '/mt-lottery/home',
    children: [
      {
        path: '/mt-lottery/home',
        name: 'Home',
        component: () => import('@/views/home/index.vue'),
      },
    ],
  },
];

// 管理配置
const config_routes = [];

const router = createRouter({
  history: createWebHistory(),
  routes: [...home_routes, ...config_routes],
});

export default router;
